const fields = [{
    dataIndex: 'index',
    key: 'index',
    title: '序号',
    width: 50,
    scopedSlots: {
      customRender: 'subscript'
    }
  },
  {
    dataIndex: 'model',
    key: 'model',
    title: '资料类型',
    width: 250
  },
  {
    dataIndex: 'emails',
    key: 'emails',
    title: '转送邮箱地址(可多选)',
    width: 150,
    scopedSlots: {
      customRender: 'brief'
    }
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    scopedSlots: {
      customRender: 'action'
    }
  }
]

const slotOpt = [{
  slot: 'action',
  component: 'Action',
  list: [{
    name: '修改',
    cb: 'edit'
  }, ]
}]

module.exports = {
  fields,
  slotOpt
}